.code_set_container {
  height: calc(100vh - 92px - 24px);
  background-color: #fff;
  margin: 12px;
  box-sizing: border-box;
  padding:  0 12px 12px 12px;

  :deep(.el-tabs) {
    height: 100%;

    .el-tabs__header {
      margin: 0;
      padding: 0 0 12px;
    }

    .el-tabs__content {
      height: calc(100% - 51px);

      .el-tab-pane {
        height: 100%;

        .code_set {
          height: 100%;
          display: flex;
          flex-direction: column;
          row-gap: 12px;

          .register_set_container,
          .code_table_field_container,
          .code_custom_field_container {
            display: flex;
            flex-direction: column;
            row-gap: 8px;

            .title {
              font-size: 14px;
              font-weight: bold;
              padding-left: 6px;
              border-left: 3px solid $primaryColor;
            }
          }

          .code_custom_field_container {
            height: calc(100% - 99px - 71px - 24px);

            .code_custom_field_component {
              height: calc(100% - 27px);
            }
          }
        }
      }
    }
  }
}

.coder-tabs {
  :deep(.el-tabs__header) {
    margin: 0;
  }
}

.mt10 {
  margin-top: 10px;
}
.main {
  display: flex;
  flex-direction: column;
  flex: 1;
  .title_h4 {
    padding-left: 6px;
    border-left: 3px solid #007cff;
  }
  .demo-tabs {
    display: flex;
    flex-direction: column;
    flex: 1;

    :deep(.el-tabs__content) {
      display: flex;
      flex-direction: column;
      flex: 1;

      .el-tab-pane {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;

        .table {
          margin-top: 10px;
          flex: 1;
          position: relative;
        }
      }
    }
  }
}
.code-set {
  margin-top: 10px;

  .form {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    flex: 1;
  }

  .checkboxs {
    .checkbox-item {
      :deep(.el-form-item__label) {
        display: none !important;
      }
    }
  }

  .set {
    .mb10 {
      margin-bottom: 20px;
    }

    .mb18 {
      margin-bottom: 20px;
    }

    .input_code {
      width: 70px;
      margin-right: 25px;
    }

    .input_code_lang {
      width: 100px;
    }

    .select-code {
      width: 250px;
      margin-left: 10px;
    }

    .tips {
      color: #999999;
      font-size: 12px;
      margin-top: 2px;
      margin-left: 130px;
      margin-bottom: 15px;
    }

    .m_l2 {
      .badge-sel {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .text_xy {
          color: #999999;
        }

        .is-checked {
          .text_xy {
            color: #007cff;
          }
        }
      }

      .md10_text {
        color: #999999;
        font-size: 12px;
        margin-bottom: 10px;
        margin-left: 70px;
      }
    }
  }
}

.active-set {
  margin: 12px;
  .form {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  .btn_show {
    width: 110px;
  }

  .tips {
    padding-top: 5px;
    margin-left: 70px;
    font-size: 12px;
    color: #999999;
  }
}

.reg-set {
  margin: 12px;
  .form {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    .form-item {
      margin-bottom: 15px;

      .bg_text {
        color: #999999;
      }

      .is-checked {
        .bg_text {
          color: #007cff;
        }
      }
    }

    .tips {
      height: 20px;
      line-height: 18px;
      font-size: 12px;
      color: #999999;
    }

    .reg-text {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
    }

    .text {
      padding: 5px 0px;
      line-height: 28px;
      font-size: 12px;
      color: rgb(153, 153, 153);
    }
  }
}

.reg-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 12px;
  .header {
    // margin-top: 10px;

    .mr5 {
      margin-right: 5px;
    }

    .btn {
      display: flex;
      align-items: center;
    }

    .btn-change {
      display: flex;
      align-items: center;
    }

    .search {
      .input-width {
        width: 150px;
        margin-right: 5px;
      }
    }
  }

  .table-field {
    margin: 10px 0;
    flex: 1;
    position: relative;
    .el-switch {
      height: 20px;
    }
  }
}

.my-header {
  h3 {
    color: #000;
    font-size: 14px;
  }
}

.btn_save {
  width: 3.2vw;
}

.btn_delete {
  width: 3.2vw;
  color: #fff;
}

.btn_cancel {
  width: 3.2vw;
}

.add-dialog {
  .form-text {
    .form-item {
      margin-bottom: 18px;

      .el-radio {
        margin-right: 18px;
      }
    }

    p {
      font-size: 12px;
      color: #999;
    }

    .tips {
      display: flex;
      align-items: center;

      .tip {
        color: #f56c6c;
        padding-right: 2px;
      }

      .add {
        margin-left: 8px;
      }
    }

    .list {
      margin: 15px 0;
      max-height: 220px;
      overflow-y: auto;
      height: 100%;

      :deep(.el-form-item__label) {
        padding: 0;
      }

      .text-item {
        margin-bottom: 15px;

        .text-input {
          width: 280px;
        }

        .delete {
          margin-left: 12px;
          font-size: 12px;
          color: #f56c6c;
          cursor: pointer;
        }

        .el-form-item__error {
          left: 38px;
        }
      }
    }
  }
}

.el-tag.el-tag--success {
  --el-tag-text-color: #00c0c0;
  --el-tag-bg-color: #ebf6f6;
  --el-tag-border-color: #ebf6f6;
  --el-tag-hover-color: #00c0c0;
}

.el-tag.el-tag--info {
  --el-tag-border-color: var(--el-color-info-light-9);
}

.el-tag {
  --el-tag-border-color: var(--el-color-primary-light-9);
}

.el-tag.el-tag--warning {
  --el-tag-border-color: var(--el-color-warning-light-9);
}
